<%@ page language="Java" import="java.util.*,descriptor.*" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<%
	StudentDescriptor student = (StudentDescriptor)request.getAttribute("student");
	RecruiterDescriptor recruiter = (RecruiterDescriptor)request.getAttribute("recruiter");
	if(recruiter == null){
		response.sendRedirect("index.jsp");
	}

%>
<html>
	<jsp:include page="recruiterHeader.jsp" >
		<jsp:param name="pageTitle" value="Work Placement Management System - Recruiter" />
	</jsp:include>
	<body OnLoad="showmenu(document.getElementById('smenu2'));">
		<jsp:include page="recruiterPageHeader.jsp"></jsp:include>
		<div id="container">
			<jsp:include page="recruiterMenu.jsp" ></jsp:include>
			<div id="content">
			<h3 class="posttitle">Propose an interview</h3>
				<div class="entry">
				
		<h1>Propose a interview to <%=student.getFirstName()%> <%=student.getSurName()%></h1>
<form action="RecruiterServlet?page=recruiterAddPersonnalInterviewDone" method="post">
<input type="text" id="calendar" name="calendar" />
    <button id="trigger"  >Choose the date</button>
    <script type="text/javascript">//<![CDATA[
      Zapatec.Calendar.setup({
        firstDay          : 1,
        range             : [2007.01, 2999.12],
        electric          : false,
        inputField        : "calendar",
        button            : "trigger",
        ifFormat          : "%A, %B %d, %Y",
        daFormat          : "%Y/%m/%d"
      });
    //]]></script>
<br/>
The Hours:
<select name="hour">
<% for (int i = 0; i<24;i++){
%>
<option value="<%=i%>"><%=i%></option>
<%
}
%>
</select>
:
<select name="minute">
<% for (int i = 0; i<61;i++){
%>
<option value="<%=i%>"><%=i%></option>
<%
}
%>
</select><br/>
Address:<br/>
<textarea name="address" rows="10" cols="30"></textarea><br/>
<button name="send" value="send" type="submit">send</button>
</form>


				</div>
	    	</div>
			<jsp:include page="recruiterPageFooter.jsp"></jsp:include>
		</div>
	</body>
</html>
